// ====================================================
//
// This file is part of the Cscec81 Passport Base Platform.
//
// Create by Cscec81 <support@cscec81.com>
// Copyright (c) 2020-2025 cscec81.com
//
// ====================================================

package com.cscec81.passport.base.oauth2.server.authorization.service;

import com.cscec81.passport.base.oauth2.server.authorization.model.UserAuth;

public interface UserDetailService<T> {
  UserAuth loadUserByUsername(String username);

  T loadUserByUserId(String userId);
}
